package com.sn.socket.mapping;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.Mapping;

/**
 * @ProjectName: springboot_socket
 * @Package: com.sn.socket.serviceImpl
 * @ClassName: ${CLASS_NAME}
 * @Author: xiahuihui
 * @Description: ${description}
 * @Date: 2020/5/13 0013 21:02
 * @Version: 1.0
 */
@Mapper
public interface OperationMapping {
    @Insert("INSERT into fm_t_realtime_task (id,device_list,command,freq_range,recording_length,detail,create_time,finish_time,creator,file_path) VALUES(null," +
            "#{deviceId},#{command},#{frequency},#{time},null,#{createTime},null,null,null)")
    void insertRealTime(@Param("deviceId") String deviceId,@Param("command")  String command,@Param("frequency")  String frequency,@Param("time")  String time,@Param("createTime") String createTime);
}
